<script setup lang="ts">
const isLoading = useState<boolean>("isLoading", () => false);
const toadMsg = useState<string>("toadMsg", () => "");
const msg = useState<string>("msg", () => "");
</script>
<template>
  <Loading v-if="isLoading" />
  <Toad v-if="toadMsg">{{ toadMsg }}</Toad>
  <NuxtLayout>
    <NuxtPage />
  </NuxtLayout>
  <Message v-if="msg">{{ msg }}</Message>
</template>
